
from django.contrib import admin
from django.urls import path
from apps.web import web_views
from apps.api import api_views

# 主路由
urlpatterns = [
    # 页面路由
    path('home/', web_views.home),
    path('', web_views.login),


    # 接口路由
    # 执行登录逻辑
    path('api/login/', api_views.login),
    path('api/register/', api_views.register),
]
